package com.stars.home.activity

import android.os.Bundle
import com.stars.home.base.MBActivity
import com.stars.home.databinding.ActivityChangePhoneBinding
import com.stars.home.databinding.ActivityRealNameBinding
import com.stars.home.vmodel.ChangePhoneVModel
import com.stars.home.vmodel.RealNameVModel

/**
 * 认证中 /认证成功/认证失败的界面
 *on 2022/9/23
 */
class RealNameActivity: MBActivity<RealNameVModel, ActivityRealNameBinding>() {

    override fun init(savedInstanceState: Bundle?) {
        super.init(savedInstanceState)
        vm.getUserInfo()
        vm.getCoopStatus()
    }

    override fun vmClass(): Class<RealNameVModel> {
        return RealNameVModel::class.java
    }
    override fun binding(): ActivityRealNameBinding {
       return ActivityRealNameBinding.inflate(layoutInflater)
    }

    override fun title(): String? {
        return "实名认证"
    }
}
